package cn.iocoder.yudao.module.member.growth.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.annotation.AdminJsonView;
import cn.iocoder.yudao.framework.business.basic.annotation.AppJsonView;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.MemberScopeVO;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 视图对象
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/05/08
 */
@Data
public class GrowthRecordVO extends MemberScopeVO {

    @Schema(description = "业务编码")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String bizId;

    @Schema(description = "业务类型")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Byte bizType;

    @Schema(description = "积分标题")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String title;

    @Schema(description = "积分描述")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String description;

    @Schema(description = "变动的贡献值")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Integer growth;

    @Schema(description = "变动后的贡献值")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Integer totalGrowth;

    @Schema(description = "受邀时间")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private LocalDateTime inviteeTime;

}
